package com.woody.aggregate.common.consts.es;

/**
 * &copy; All rights Reserved
 * AiShopIndex 索引_id前缀
 * @author wénkǎi.zhāng 2025-04-10
 */
public interface AiShopIndexIdPrefix {

    /**
     * 门店
     */
    String SHOP = "s_";

    /**
     * 商圈
     */
    String BD = "b_";

    /**
     * 获取门店类型文档的id
     *
     * @param shopId
     * @return
     */
    static String getShopIndexId(Long shopId) {
        return SHOP + shopId;
    }

    /**
     * 获取商圈类型文档的id
     *
     * @param bdId
     * @return
     */
    static String getBdIndexId(Long bdId) {
        return BD + bdId;
    }
}
